package com.ecar.core.driver.dao;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.driver.entity.Complaint;

public interface ComplaintMapper extends MybatisMapper {
    int deleteByPrimaryKey(String id);

    int insert(Complaint record);

    int insertSelective(Complaint record);

    Complaint selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Complaint record);

    int updateByPrimaryKey(Complaint record);
    
    int countByDriverId(String driverId);
}